package com.yooohooo.designpattern.builder;

import com.yooohooo.designpattern.bean.phone.ApplePhone;
import com.yooohooo.designpattern.bean.phone.Phone;

/**
 * @ClassName: ApplePhoneBuilder
 * @Description:
 * @author Yooo
 * @date 2017年6月19日 上午3:55:12
 * 
 */
public class ApplePhoneBuilder implements PhoneBuilder {
	private ApplePhone applePhone = new ApplePhone();

	public void buildBrand() {
		applePhone.setBrand("Apple");
	}

	public void buildOs() {
		applePhone.setOs("IOS");
	}
	
	public Phone getResult() {
		return applePhone;
	}
}
